package com.kun.service2.controller;

import com.kun.service2.service.openFeignservice;
import com.kun.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author zhoukun
 * @Date 2021/2/8 22:07
 */
@RestController
public class service2Controller {
    @Autowired
    openFeignservice feignservice;
    @GetMapping("/service2")
    public R r(){
        R r = feignservice.r();
        return r;
    }
}
